package com.universalInterface.lims_interface.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.universalInterface.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("interface_user")
@Schema(name="InterfaceUser", description="用户表")
public class InterfaceUser  extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 7059640117878558804L;

    @Schema(description = "1表示硬件接口；2表示远程接口")
    @TableField(value = "interface_type")
    private String interfaceType;

    @Schema(description = "1调试阶段，2试用阶段")
    @TableField(value = "form")
    private String form;

    @Schema(description = "用户名")
    @TableField(value = "user_name")
    private String userName;

    @Schema(description = "密码")
    @TableField(value = "pass_word")
    private String passWord;

    @Schema(name = "labName", description = "实验室名称")
    @TableField(value = "lab_name")
    private String labName;

    @Schema(name = "labGuid", description = "实验室id")
    @TableField(value = "lab_guid")
    private Long labGuid;
}
